// import {
//   ADD_COUNTER,
//   ADD_TO_CART,
//   ADD_TO_GOOD
// } from './mutation-types'
export default{
  //motations中的方法完成的操作尽量单一

    // 修改token，并将token存入localStorage
    changeLogin (state, user) {
      state.Authorization = user.Authorization;
      sessionStorage.setItem('Authorization', user.Authorization);
    }

}
